package com.sinven.service;

import com.sinven.common.ActionResult;
import com.sinven.common.Pager;
import com.sinven.pojo.Environment;

import java.util.List;

public interface EnvService {

    ActionResult<List<Environment>> queryCurPageData(Integer curPage,Integer pageSize);

    Environment getEnvById(long eid);

    boolean addEnv(Environment env);

    boolean updateEnv(Environment env);

    boolean deleteEnv(long eid);

    Pager<Environment> queryPageData(Long curPage,Integer pageSize);
}
